﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace MW.App
{
    public partial class FrmSplash : Form
    {
        public FrmSplash(bool runTimer)
        {
            InitializeComponent();

            if (runTimer)
            {
                Timer timer = new Timer();
                timer.Interval = 2000;
                timer.Tick += new EventHandler(timer_Tick);
                timer.Start();
            }
        }

        void timer_Tick(object sender, EventArgs e)
        {
            this.Close();
        }

        private void FrmSplash_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}
